Component studio.extensions.easyshare
In bundle nuxeo-easyshare-core
Requirements
Resolution Order
180
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime
framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.
Contributions
- studio.extensions.easyshare--schema
- studio.extensions.easyshare--doctype
- studio.extensions.easyshare--types
- studio.extensions.easyshare--types1
- studio.extensions.easyshare--notifications
- studio.extensions.easyshare--templates
- studio.extensions.easyshare--permissionsVisibility
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<component name="studio.extensions.easyshare" version="1.0.0">
<require>org.nuxeo.ecm.core.CoreExtensions</require>
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
<schema name="easysharefolder" prefix="eshare" src="data/schemas/easysharefolder.xsd"/>
</extension>
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
<doctype name="EasyShareFolder" extends="Folder">
<facet name="Collection"/>
<facet name="NotCollectionMember"/>
<schema name="dublincore"/>
<schema name="common"/>
<schema name="easysharefolder"/>
<schema name="uid"/>
</doctype>
<doctype name="Folder" append="true">
<subtypes>
<type>EasyShareFolder</type>
</subtypes>
</doctype>
<doctype name="Workspace" append="true">
<subtypes>
<type>EasyShareFolder</type>
</subtypes>
</doctype>
</extension>
<extension target="org.nuxeo.ecm.core.lifecycle.LifeCycleService" point="types">
<types>
<type name="EasyShareFolder">default</type>
</types>
</extension>
<extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
<type id="EasyShareFolder">
<label>EasyShareFolder</label>
<category>Collaborative</category>
<icon>/img/easyshare.png</icon>
<bigIcon>/img/easyshare_100.png</bigIcon>
<description>EasyShareFolder.description</description>
<default-view>view_documents</default-view>
</type>
</extension>
<extension target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService" point="notifications">
<notification name="easyShareDownload" channel="email"
enabled="true" availableIn="Workspace" autoSubscribed="true"
template="easyShareDownload" subject="EasyShare download notification"
subjectTemplate="easyShareDownloadSubject">
<event name="easyShareDownload"/>
</notification>
<notification name="easyShareExpired" channel="email"
enabled="true" availableIn="Workspace" autoSubscribed="true"
template="easyShareExpired"
subject="EasyShare expired notification"
subjectTemplate="easyShareExpiredSubject">
<event name="easyShareExpired"/>
</notification>
</extension>
<extension target="org.nuxeo.ecm.platform.ec.notification.service.NotificationService" point="templates">
<template name="easyShareDownload" src="templates/easyShareDownload.ftl"/>
<template name="easyShareExpired" src="templates/easyShareExpired.ftl"/>
<template name="easyShareDownloadSubject" src="templates/easyShareDownloadSubject.ftl"/>
<template name="easyShareExpiredSubject" src="templates/easyShareExpiredSubject.ftl" />
</extension>
<extension target="org.nuxeo.ecm.core.security.SecurityService"
point="permissionsVisibility">
<visibility type="EasyShareFolder">
<item show="true" order="20">ReadCanCollect</item>
</visibility>
</extension>
</component>